Κεφάλαιο 3 : Διαδικασία Ανάπτυξης Java προγράμματος

Υλικό ανά κεφάλαιο Κεφάλαιο 3

 

Mεταγλωττιστές:

 The GNU Compiler for the Javatm Programming Language

GCJ is a portable, optimizing, ahead-of-time compiler for the Java Programming Language. It can compile: 

  • Java source code directly to native machine code,
  • Java source code to Java bytecode (class files),
  • and Java bytecode to native machine code.

http://gcc.gnu.org/java/

javac - Java programming language compiler

The javac tool reads class and interface definitions, written in the Java programming language, and compiles them into bytecode class files.

http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javac.html

Java compilers (Γενικά)

This page gives an overview of compilers for the Java programming language. Compilers on this page are tools to convert Java source code (.java files) to .class files (source code to bytecode) or source code (or class files) to native executables (native compilers). The best-known Java compiler is probably javac.

http://www.geocities.com/marcoschmidt.geo/jcomp.html

List of Java virtual machines, Java development kits and Java runtime environments

http://www.geocities.com/marcoschmidt.geo/jvm.html 

 

Παράδειγμα 3-1:

bullet

 Πηγαίος κώδικας
 

 

Παράδειγμα 3-2:

bullet

Έκδοση 1η: πηγαίος κώδικας - εκτέλεση

bullet

Έκδοση 2η: πηγαίος κώδικας - εκτέλεση

bullet

Έκδοση 3η: εκτέλεση

 

 

 


<Προηγούμενη Σελίδα>